package ntd.util.frame.auth.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
public class AuthBO {
    /** 用户名 */
    private String username;
    /** 密码 */
    private String password;
    /** 角色列表 */
    private List<String> roles = new ArrayList<>();
    /** 权限列表 */
    private List<String> perms = new ArrayList<>();

    public AuthBO(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
